# $Id: PKGBUILD 72643 2012-06-18 09:53:54Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-net-xmpp
pkgver=1.02
pkgrel=6
pkgdesc="Perl/CPAN Module Net::XMPP"
arch=("any")
url="http://search.cpan.org/dist/Net-XMPP"
license=("GPL" "PerlArtistic")
makedepends=("perl-digest-sha1" "perl-xml-stream")
depends=("perl-digest-sha1" "perl-xml-stream" "perl-digest-hmac")
source=("http://www.cpan.org/authors/id/H/HA/HACKER/Net-XMPP-$pkgver.tar.gz")
md5sums=('67cf40d3bbbe6740c21c856c79692fde')

build() {
  cd $srcdir/Net-XMPP-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
